<template>
<div class="w-full flex justify-center" >
    <div class="2xl:w-3/5 md:w-4/5 w-full overflow-hidden">
        <div v-html="data[0].content" ></div>
    </div>
</div>
   <MyFooter :breadCurb="'> 新闻中心 > '+ data[0].name" />
</template>
<script lang="ts" setup>
import { news } from "@utils/store";
import { useRoute } from "vue-router";
import MyFooter from "@comps/footer.vue";
const route = useRoute().params.document
const data = news.document.filter(v=>v.id === route)    
// console.log(data[0])
</script>

